2. But Moses was now grown old, and appointed Joshua for his successor, both to receive directions from God as a prophet, and for a commander of the army, if they should at any time stand in need of such a one; and this was done by the command of God, that to him the care of the public should be committed. Now Joshua had been instructed in all those kinds of learning which concerned the laws and God himself, and Moses had been his instructor.